import request from '@/plugins/axios'

export function getDataBackupList(params) {
  return request({
    url: 'api/databackup/list?start=' + params.start + '&end=' + params.end,
    method: 'GET'
  })
}

export function backup() {
  return request({
    url: 'api/databackup/backup',
    method: 'POST'
  })
}
